#!/bin/sh
REDOPDIR=../api/redisop
gcc -g -c ${REDOPDIR}/credis.c -o credis.o
#g++ -I/usr/local/include -I../api/redisop -g -o memdbsvr memdbsvr.cpp ${REDOPDIR}/redisop.cpp ${REDOPDIR}/credis.c
g++ -I/usr/local/include -I../api/redisop -static -g -o memdbsvr credis.o memdbsvr.cpp ${REDOPDIR}/redisop.cpp -L/usr/local/lib -levent -lrt
